<? include '../server_config.php'; ?>
<? 

if($_SESSION['admin']!=true)
{
	?>
	<script>location.href='login.php'</script>
	<?
	return;
}

?>
<br>
Slide<br>
<br>
<hr>
<? 
for($i=1;$i<=5;$i++)
{
?>
<br>
	<img src='./file/slide_<? echo $i;?>.jpg?a=<? echo rand(1,100);?>' width='112px' height='179px'>
<hr>
<? echo $i;?>번째 이미지 수정 (449x680)<br>
<form name="fileForm" method="post" enctype="multipart/form-data" action="slide_proc.php">
	<input type='hidden' value='<? echo $i;?>' name='number'>
	<input type="file" name="file1" /><br />
	<input type="submit" value="저장"></input>
</form> 
<br>
<?
}
?>
<br>
<? echo $_SERVER[HTTP_HOST]; ?>
